<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Vue with CDN</title>
    <!-- <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script> -->
    <script src="js/vue.global.v3.5.13.js"></script>
</head>
<body>
    <div id="app">
        <h1>
            {{ message }}
        </h1>
        <button v-on:click="clickMe">
            Click Me!
        </button>
    </div>

    <script>
        const app = Vue.createApp({
            data() {
                return {
                    message: "Hello Vue.js!"
                }
            },
            methods: {
                clickMe() {
                    console.log("Button Being Clicked!");
                    this.message = "Updated Message!";
                }
            }
        });

        app.mount("#app");
    </script>
</body>
</html>
